﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Media.Imaging;

namespace PPFinance.Controls
{
    public class NavBarItem : Button
    {


        public string Text
        {
            get { return (string)GetValue(TextProperty); }
            set { SetValue(TextProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Text.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty TextProperty =
            DependencyProperty.Register("Text", typeof(string), typeof(NavBarItem), null);



      

        

        public BitmapSource Icon
        {
            get { return (BitmapSource)GetValue(IcoProperty); }
            set { SetValue(IcoProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Ico.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty IcoProperty =
            DependencyProperty.Register("Icon", typeof(BitmapSource), typeof(NavBarItem), null);


    }
}
